import React from 'react';
import {PageLoader} from '@/utils/store';

const LoginPage = PageLoader({
	loader: () => import(/* webpackChunkName: "page-login" */ './main'),
	reducer: {
		login: () => import(/* webpackChunkName: "page-login" */ './state'),
	},
});

// 页面入口
export default (props: any) => <LoginPage {...props} />;
